package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Employee;
import cn.wolfcode.wms.query.EmployeeQueryObject;
import cn.wolfcode.wms.query.QueryObject;
import cn.wolfcode.wms.util.PageResult;

import java.util.List;

public interface IEmployeeService {

    void saveOrUpdate(Employee entity,Long[] roleIds);

    void delete(Long id);

    Employee get(Long id);


    PageResult queryResult(EmployeeQueryObject qo);

    Employee userLoginCheck(String user, String password);

    //批量删除
    void deletes(Long[] ids);
}
